<%-- 
    Document   : SaisieTableau
    Created on : 4 mai 2012, 13:33:20
    Author     : Morgan
--%>

<%@page import="java.util.Calendar"%>
<%@page import="java.util.GregorianCalendar"%>
<%@page import="java.util.Date"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<% GregorianCalendar cal = new GregorianCalendar(); %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <link rel="stylesheet" href="styles.css" type="text/css" />
    </head>
    <body>
        <jsp:include page="menuNavigation.jsp"/>
        
        <div class="content">
            <h1>Saisir Tableau</h1>
            <br/>
            <table>
                <form action="enregistrerTableau.jsp" method="post">
                    <tr>
                    <td>Descriptif</td>
                    <td><textarea name="description"></textarea></td>
                    </tr>
                    <tr>
                    <td>Date de fin (année)</td>
                    <td><input type="text" name="annee" size="27" value="<%= cal.get(Calendar.YEAR) %>"/></td>
                    <td>Date de fin (mois)</td>
                    <td><input type="text" name="mois" size="27" value="<%= cal.get(Calendar.MONTH) %>"/></td>
                    <td>Date de fin (jour)</td>
                    <td><input type="text" name="jour" size="27" value="<%= cal.get(Calendar.DAY_OF_MONTH) %>"/></td>
                    </tr>
                    <tr>
                    <td>Date de fin (heure)</td>
                    <td><input type="text" name="heure" size="27" value="<%= cal.get(Calendar.HOUR_OF_DAY) + 1 %>"/></td>
                    <td>Date de fin (minute)</td>
                    <td><input type="text" name="minutes" size="27" value="<%= cal.get(Calendar.MINUTE) %>"/></td>
                    </tr>
                    <tr>
                    <td>Prix de vente initial</td>
                    <td><input type="text" name="prixDeb" size="27"/></td>
                    </tr>
                    <tr>
                    <td><input type="submit" value="Envoyer" /></td>
                    </tr>
                </form>
            </table>
        </div>
    </body>
</html>
